package com.ruoyi.common.enums;

/**
 * 全局通用
 */
public enum GeneralStatus {
    是(0L, "是"),
    否(1L, "否"),
    存在(0L, "存在"),
    删除(1L, "删除"),
    营业中(0L, "营业中"),
    休息中(1L, "休息中"),
    待审核(0L, "待审核"),
    审核通过(1L, "审核通过"),
    审核不通过(2L, "审核不通过");

    private final Long code;
    private final String info;

    GeneralStatus(Long code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Long getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
